package com.kaifamiao.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Patientinfo {
    private Integer patientid;

    private String patientgender;

    private String patientname;

    private String patientpass;

    private String patientpho;

    private String patientidcard;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date patientcreatime;

    public Integer getPatientid() {
        return patientid;
    }

    public void setPatientid(Integer patientid) {
        this.patientid = patientid;
    }

    public String getPatientgender() {
        return patientgender;
    }

    public void setPatientgender(String patientgender) {
        this.patientgender = patientgender == null ? null : patientgender.trim();
    }

    public String getPatientname() {
        return patientname;
    }

    public void setPatientname(String patientname) {
        this.patientname = patientname == null ? null : patientname.trim();
    }

    public String getPatientpass() {
        return patientpass;
    }

    public void setPatientpass(String patientpass) {
        this.patientpass = patientpass == null ? null : patientpass.trim();
    }

    public String getPatientpho() {
        return patientpho;
    }

    public void setPatientpho(String patientpho) {
        this.patientpho = patientpho == null ? null : patientpho.trim();
    }

    public String getPatientidcard() {
        return patientidcard;
    }

    public void setPatientidcard(String patientidcard) {
        this.patientidcard = patientidcard == null ? null : patientidcard.trim();
    }

    public Date getPatientcreatime() {
        return patientcreatime;
    }

    public void setPatientcreatime(Date patientcreatime) {
        this.patientcreatime = patientcreatime;
    }
}